package com.cxb.mythread;


import java.util.concurrent.locks.ReentrantLock;

public class MyThread {
    public static void main(String[] args) {
        ReentrantLock reentrantLock = new ReentrantLock();
        reentrantLock.lock();
        try {
            System.out.println("。");
        }finally {
            reentrantLock.unlock();
        }
    }
}
